import request from '@/utils/request'

// 查询变更信息列表
export function listCompanyChangeinfo(query) {
  return request({
    url: '/changeinfo/companyChangeinfo/list',
    method: 'get',
    params: query
  })
}

// 查询变更信息详细
export function getCompanyChangeinfo(id) {
  return request({
    url: '/changeinfo/companyChangeinfo/' + id,
    method: 'get'
  })
}

// 保存变更信息
export function saveCompanyChangeinfo(data) {
  return request({
    url: '/changeinfo/companyChangeinfo/save',
    method: 'post',
    data: data
  })
}

// 删除变更信息
export function delCompanyChangeinfo(id) {
  return request({
    url: '/changeinfo/companyChangeinfo/' + id,
    method: 'delete'
  })
}

// 导出变更信息
export function exportCompanyChangeinfo(query) {
  return request({
    url: '/changeinfo/companyChangeinfo/export',
    method: 'get',
    params: query
  })
}
